console.log('测试测试');
var QRCode = require('qrcode');

QRCode.toString('https://www.baidu.com', { type: 'terminal' }, function (err, data) {
    console.log(data);
});